package com.example.design_pattern.decorator;

/**
 * 抽象的装饰者
 */
public abstract class OrderDecorator implements Order{

    protected Order order;

    public OrderDecorator(Order order) {
        this.order = order;
    }

    @Override
    public void print() {
        order.print();
    }
}
